In [1]:
import bokeh.plotting as bp
import datetime
We're in a notebook!
In [2]:
#bp.output_file("categorical.html", title="categorical.py example")
bp.output_notebook()
The figure call is passed before any renderer call to glyphs that will appear on it.
In [3]:
bp.figure()
Aforementioned renderer.
In [4]:
bp.segment([datetime.date(2014,1,1)], [3], [datetime.date(2014,1,7)], [3],
line_width=20, line_color="green", title="Dot Plot", x_axis_type="datetime")
Out[4]:
This, then, works!
In [5]:
bp.show()
Karan